package com.oa.admin.mapper;

import com.baomidou.mybatisplus.plugins.Page;
import com.oa.admin.dto.MeetingApplyListDTO;
import com.oa.admin.entity.MeetingApply;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.oa.admin.vo.MeetingApplyDetailsVO;
import com.oa.admin.vo.MeetingApplyListVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 会议活动申请表 Mapper 接口
 * </p>
 *
 * @author syb123
 * @since 2019-01-22
 */
public interface MeetingApplyMapper extends BaseMapper<MeetingApply> {
    /**
     * 分页查询列表
     * @param page
     * @return
     */
     List<MeetingApply> findList(Pagination page);

     /**
     * 查询所有列表
     * @return
     */
     List<MeetingApply> findList();

        /**
        * 根据id查询
   */
    MeetingApply findById(@Param("id") String id);


    List<MeetingApplyListVO> findMeetingApplyList(Page page, MeetingApplyListDTO meetingApplyListDTO);

    MeetingApplyDetailsVO findMeetingApplyDetails(String id);

}
